<extend name="public:base" />

<block name="body">
    <include file="public/bread" menu="applyarea_index" title="编辑下载表" />
    <div id="page-wrapper">
        <div class="page-header">编辑申请表</div>
        <div id="page-content">


            <form method="post" class="page-form" action="{:url('ApplyArea/addinfo')}" enctype="multipart/form-data">
                <div class="form-row">
                    <div class="col form-group">
                        <label for="article-title">申请表标题</label>
                        <input type="text" name="title" class="form-control" value="{$article.title}" id="article-title" placeholder="输入文章标题">
                    </div>
                </div>

                <div class="form-group">
                    <label for="image">附件</label>
                    <div class="input-group">
                        <div class="custom-file">
                            <input type="file" class="custom-file-input" name="image"/>
                            <label class="custom-file-label" for="upload_cover">选择表</label>
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <label for="description">附件说明</label>
                    <textarea name="description" class="form-control" >{$article.description}</textarea>
                </div>

                <button type="submit">添加</button>

            </form>

        </div>
    </div>
</block>


